package com.hyt.it.ogt.ks.model.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableField;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 考生考试过程表
 * </p>
 *
 * @author chengxh
 * @since 2020-06-17
 */
@Data
@ApiModel(value="CandidateProcess对象", description="考生考试过程表")
public class CandidateTimeLength implements Serializable {
    private static final long serialVersionUID = 1L;

    private String id;

    private String examId;

    private String candidateId;

    @TableField(exist = false)
    private String candidatePaperId;

    @ApiModelProperty(value = "单位毫秒；数字型")
    private Long remainingTime;

    @ApiModelProperty(value = "允许提前交卷时间")
    private Long handInTime;

    @ApiModelProperty(value = "实际考试用时，按照考生停留在作答界面为准")
    private Long examUseTime;

    @ApiModelProperty(value = "10：已登录；20：已开考；21:中断；30：已交卷；40：缺考；")
    private Integer examStatus;

    @ApiModelProperty(value = "开始时间")
    private LocalDateTime beginTime;

    @ApiModelProperty(value = "记录当前时间，仅统计剩余时长使用")
    private Long accessTime;

    @ApiModelProperty(value = "试卷时长（分钟）", hidden = true)
    private Long paperTimeLength;

    @ApiModelProperty(value = "是否强制收卷，1(true)表示是，0(false)表示否")
    private Boolean forbidFinishExam;

    @ApiModelProperty(value = "加时时长")
    private Long extraTime;
}
